set(VCPKG_TARGET_ARCHITECTURE x64)
set(VCPKG_CRT_LINKAGE dynamic)
set(VCPKG_LIBRARY_LINKAGE dynamic)

set(VCPKG_BUILD_TYPE release)

#===================== ensure dynamic libs
set(BUILD_SHARED_LIBS TRUE)
# static library with position-independent code
#  (e.g. linking fmt into shared library such as a Python extension)

##===================== spdlog
# https://github.com/gabime/spdlog/wiki/CMake#using-spdlog-in-a-shared-library
set(CMAKE_POSITION_INDEPENDENT_CODE TRUE)